package com.xy.modular.basics.service;

import com.xy.framework.base.service.IBaseService;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.framework.pager.PageRequest;
import com.xy.modular.basics.entity.Dep;

import java.util.List;

public interface IDepService extends IBaseService<Dep, String>{
	
	List<Dep> getTreeDep(PageRequest pageRequest);

	void validateEntity(Dep dep) throws ValidateParamException;
	
}
